home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / infoserv / www / cern / dev / www-talk.9301-9306.Z / www-talk.9301-9306 / text0506.txt < prev    next >
Encoding:
Text File  |  1995-04-24  |  1.5 KB  |  37 lines

  1. I'm trying to set up a W3/wais server for the Internet RFCs and
  2. related docs.  I created a server script in Perl that takes requests,
  3. looks up the RFCs in our ftp archive, and returns an HTML doc with
  4. links to things that look like other RFC names.  So far, so good, this
  5. works great.
  6.  
  7. I also wanted to be able to search for stuff with a waisserver, so I
  8. indexed them (they're in /n/archive/2/ftp/pub/rfc or something like
  9. that).  WAIS lookups work fine.  
  10.  
  11. I also set up a waisgate server.  Lookups work ok, but here's the
  12. problem: the doc IDs are created such that requests for the docs get
  13. passed to waisgate and from there to the waisserver.  Of course,
  14. that's the way things should work.  But that means that they aren't
  15. retrieved from the special rfc server that I created.
  16.  
  17. I could get around this by converting the RFC texts to html, storing
  18. them somewhere, and indexing that, but I'd rather avoid copying
  19. everything and all that.
  20.  
  21. What I'd like to do (and will, unless someone has a better answer) is
  22. to have waisgate read a config file that might look something like
  23. this: 
  24.  
  25.     rfc /n/archive/2/ftp/pub/rfc/*.Z http://rfcserver:port/rfc/*.html
  26.  
  27. so that document ids from database rfc that match the pattern are
  28. seen, they are translated to the form on the right instead of the
  29. usual wais->www ids.  That way I could have waisgate redirect specific
  30. doc lookups to a special server, and not have to copy the databases.
  31.  
  32. Is there a better way to do this (short of copying the source files,
  33. preformatting them and leaving them there)?  
  34.  
  35. --- Steve
  36.  
  37.